﻿{
	"Debug": "true",
	"ADFSReference": "adfs.srv.core-cloud.net",
	"IdClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
	"IgnoredWebApps" :
	[
		"http://cnasp01wvp:65000"
	],
	"ClaimElements": [
		{
			"Title": "Unité",
			"ClaimType": "http://schemas.dsi.cnrs.fr/claims/ou",
			"ReferenceID": "code_unite",
			"DB": "view_unites_details",
			"FormatDisplay": "{0}",
			"Format": "{0}",
			"Hidden": "false",
			"ProviderName": "sql"
		},
		{
			"Title": "DRAdmin",
			"ClaimType": "http://schemas.dsi.cnrs.fr/claims/dradmin",
			"ReferenceID": "libelle_court",
			"DB": "delegations_regionales",
			"FormatDisplay": "Administrateurs {0}",
			"Format": "{0}",
			"Hidden": "true",
			"ProviderName": "sql"
		},
		{
			"Title": "DU",
			"ClaimType": "http://schemas.dsi.cnrs.fr/claims/du",
			"ReferenceID": "code_unite",
			"DB": "view_unites_details",
			"FormatDisplay": "DU {0}",
			"Format": "{0}",
			"Hidden": "true",
			"ProviderName": "sql"
		},
		{
			"Title": "SSI Local",
			"ClaimType": "http://schemas.dsi.cnrs.fr/claims/ssilocal",
			"ReferenceID": "code_unite",
			"DB": "view_unites_details",
			"FormatDisplay": "CSSI {0}",
			"Format": "{0}",
			"Hidden": "false",
			"ProviderName": "sql"
		},
		{
			"Title": "SSI Régional",
			"ClaimType": "http://schemas.dsi.cnrs.fr/claims/ssiregional",
			"ReferenceID": "libelle_court",
			"DB": "delegations_regionales",
			"FormatDisplay": "RSSI Régional {0}",
			"Format": "{0}",
			"Hidden": "false",
			"ProviderName": "sql"
		},
		{
			"Title": "Fournisseur d'identité",
			"ClaimType": "http://schemas.dsi.cnrs.fr/claims/idp",
			"ReferenceID": "idp",
			"DB": "claims_idp",
			"FormatDisplay": "IDP {0}",
			"Format": "{0}",
			"Hidden": "false",
			"ProviderName": "sql"
		},
		{
			"Title": "Grouper",
			"ClaimType": "http://schemas.dsi.cnrs.fr/claims/grouper",
			"ReferenceID": "",
			"DB": "",
			"FormatDisplay": "Group {0}",
			"Format": "{0}",
			"Hidden": "false",
			"ProviderName": "grouper"
		}
	],
	"UserElements":
	[
		{
			"Title": "ldapProd",
			"ClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
			"Query": "(&(!(refUnauthenticable=TRUE))(mail={0}))",
			"Value": "mail;",
			"Display": "cn;",
			"Email": "mail;",
			"ProviderName": "ldapProd"
		}
	],

	"Providers":
	[	
		{
			"Name": "sql",
			"Type": "SQL",
			"Server": "Data Source=SP6;Initial Catalog=BaseUnits;User Id={0};Password={1};",
			"User": "CnrsClaims",
			"Password": "password"
		},
		{
			"Name": "userProvider",
			"Type": "LDAP",
			"Server": "LDAP://tcgpldapslave1.users.interne:636/ou=people,dc=cnrs,dc=fr|ssl",
			"User": "cn=adfs,ou=applications,dc=cnrs,dc=fr",
			"Password": "password"
		},
		{
			"Name": "grouper",
			"Type": "VOOT",
			"Url": "http://mgiGrouper1:8080/grouper-ws/voot/groups",
			"User": "GrouperSystem",
			"Password": "password"
		}
	]
}